package www.google;

import org.json.simple.JSONObject;

public class GoogleDTO {
	private int num;
	private String location;
	private String point;
	
	public GoogleDTO() {
		super();
	}
	
	
	
	public GoogleDTO(int num, String location, String point) {
		super();
		this.num = num;
		this.location = location;
		this.point = point;
	}



	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getPoint() {
		return point;
	}
	public void setPoint(String point) {
		this.point = point;
	}
	
	public JSONObject toJSONObject(){
		JSONObject json = new JSONObject();
		
		json.put("num", num);
		json.put("location", location);
		json.put("point", point);
		
		return json;
	}

}
